<?php

namespace app\common\model;

use think\Model;

class Glogs extends Model
{
	public function good(){
		return $this->hasOne('Goods','num','goods_num','g','LEFT')
				->setEagerlyType(0)
				->bind([
						'gname'=>'name'
				]);
	}
}